const leaderColumns = {
  unpay: [
    {
      title: '组长姓名',
      dataIndex: 'leader_name',
      scopedSlots: { customRender: 'leader_name' }
    },
    {
      title: '顾问姓名',
      dataIndex: 'adviser_name',
      scopedSlots: { customRender: 'adviser_name' }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate'
    },
    {
      title: '入职天数',
      dataIndex: 'hire_day',
      scopedSlots: { customRender: 'hire_day' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  train: [
    {
      title: '姓名',
      dataIndex: 'name',
      key: 'name'
    },
    {
      title: '入职时间',
      dataIndex: 'entry_time',
      key: 'entry_time',
      scopedSlots: { customRender: 'entry_time' }
    },
    {
      title: '已考核次数',
      dataIndex: 'assessed_frequency',
      key: 'assessed_frequency',
      scopedSlots: { customRender: 'assessed_frequency' }
    },
    {
      title: '已培训次数及内容',
      dataIndex: 'train_times_content',
      key: 'train_times_content',
      scopedSlots: { customRender: 'train_times_content' }
    },
    {
      title: '本次考核内容',
      dataIndex: 'examination_content',
      key: 'examination_content'
    },
    {
      title: '本次培训内容',
      dataIndex: 'train_content',
      key: 'train_content'
    },
    {
      title: '操作',
      dataIndex: 'operate',
      key: 'operate'
    }
  ],
  today: [
    {
      title: '姓名',
      dataIndex: 'username',
      key: 'username'
    },
    {
      title: '超时未联系',
      dataIndex: 'timeout',
      key: 'timeout'
    },
    {
      title: '业务联系',
      dataIndex: 'yw',
      key: 'yw'
    },
    {
      title: '老客户回访',
      dataIndex: 'old',
      key: 'old'
    },
    {
      title: '今日拨出次数',
      dataIndex: 'call',
      key: 'call'
    },
    {
      title: '加油站',
      dataIndex: 'jiayou',
      key: 'jiayou'
    },
    {
      title: '目前业绩',
      dataIndex: 'mubiao',
      key: 'mubiao'
    },
    {
      title: '领新',
      dataIndex: 'new',
      key: 'new'
    },
    {
      title: '今日开单金额',
      dataIndex: 'money',
      key: 'money'
    },
    {
      title: '今日合同数',
      dataIndex: 'contract',
      key: 'contract'
    },
    {
      title: '操作',
      dataIndex: 'action',
      key: 'action'
    }
  ],
  state: [
    {
      title: '状态',
      dataIndex: 'status',
      key: 'status'
    },
    {
      title: '姓名',
      dataIndex: 'username',
      key: 'username'
    },
    {
      title: '入职时间',
      dataIndex: 'join_time',
      key: 'join_time'
    },
    {
      title: '当月业绩',
      dataIndex: 'yj',
      key: 'yj'
    },
    {
      title: '当月通时/min',
      dataIndex: 'ts',
      key: 'ts'
    },
    {
      title: '名次',
      dataIndex: 'mc',
      key: 'mc'
    },
    {
      title: '操作',
      dataIndex: 'action',
      key: 'action'
    }
  ],
  call: [
    {
      title: '组长',
      dataIndex: 'leader'
    },
    {
      title: '顾问',
      dataIndex: 'adviser'
    },
    {
      title: '今日通时',
      dataIndex: 'ts',
      scopedSlots: { customRender: 'ts' }
    }
  ],
  yj: [
    {
      title: '组长',
      dataIndex: 'leader_name'
    },
    {
      title: '顾问',
      dataIndex: 'adviser_name'
    },
    {
      title: '今日业绩',
      dataIndex: 'jr_yj',
      scopedSlots: { customRender: 'jr_yj' }
    }
  ],
  lx: [
    {
      title: '组长',
      dataIndex: 'leader_name'
    },
    {
      title: '顾问',
      dataIndex: 'adviser_name'
    },
    {
      title: '领新',
      dataIndex: 'num',
      scopedSlots: { customRender: 'num' }
    }
  ],
  wkd: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问姓名',
      dataIndex: 'adviser_name',
      scopedSlots: { filterDropdown: 'filterSelect' }
    },
    {
      title: '入职时间',
      dataIndex: 'egis_at',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '未开单天数',
      dataIndex: 'entry_time',
      sorter: true
    },
    {
      title: '本月业绩',
      dataIndex: 'by_yj'
    }
  ],
  contract: [
    {
      title: '状态',
      dataIndex: 'status',
      key: 'status'
    }
  ]
}

export default leaderColumns
